#/usr/bin/python3
#-*- coding:utf-8 -*-

from bot.drives.modelByMysql import modelByMysql as db

class dwModel(db):

    def __init__(self,database = 'default'):
        super(dwModel,self).__init__(database=database)

    def addQuestion(self,param = None):
        if param is None:
            return False

        pass

    def getQuestionById(self,id):

        print(self.table('aaaaaa').where({'a':'b','c':'d','d@IN':['a','b','c'],'e@OR':'ggg','hh@like':'jjjjh'}))


